﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Fabrica
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);


            int option;

            do
            {
                Console.WriteLine("1.- Agregar juguete");
                Console.WriteLine("2.- Agregar material");
                Console.WriteLine("3.- Entregar productos");
                Console.WriteLine("4.- Produccion de juguetes");
                Console.WriteLine("5.- Salir");
                option = Convert.ToInt32(Console.ReadLine());
                switch (option)
                {
                    case 1:
                        Application.Run(new AgregarJuguete());
                        break;
                    case 2:
                        Application.Run(new AgregarMaterial());
                        break;
                    case 3:
                        Application.Run(new EntregaProductos());
                        break;
                    case 4:
                        Application.Run(new ProduccionJuguetes());
                        break;
                    case 5:
                        break;
                    default:
                        break;
                }
            } while (option != 5);
        }
    }
}
